<?php
require_once ROOT_APPLICATION_MODULES_ADMIN_MODELS.DS."Users.php";
class Zend_View_Helper_ShowDetailPage {
	
	
    public function showDetailPage($view) {
        $modelUser = new End_Models_Users();
    	$page = $view->Page;
    	$str='<h2>';
    	$str.= $page->name.'</h2>';
    	$str.= 'Tạo ngày <b>'.$page->created_date.'</b> bởi <b>'.$modelUser->_getUserName($page->user_id).'</b> <br/><br/><br/>';
        $str .= $page->content;
        
        return $str; 

    }
}